Method for environmental adaptation of display characteristics based on location

ABSTRACT

The exemplary embodiments herein provide a method for environmental adaptation of electronic display characteristics, comprising the steps of determining the sunset and sunrise times for the day and determining whether the present time is between sunrise and sunset or between sunset and sunrise. An exemplary method would then proceed by selecting a gamma for the display based on whether the present time is between sunrise and sunset or between sunset and sunrise, and driving the display at the selected gamma. The gamma can further be selected based on Artificial Ambient Light Sensor (AAS) data, which can be calculated during sunrise and sunset transition times.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to U.S. Provisional Application No. 62/206,050 filed on Aug. 17, 2015 and U.S. Provisional Application No. 62/314,073 filed on Mar. 28, 2016, both of which are herein incorporated by reference in their entirety. This application is also a continuation-in-part of U.S. application Ser. No. 15/043,100 filed on Feb. 12, 2016 and U.S. application Ser. No. 15/043,135 filed on Feb. 12, 2016, both of which claim priority to U.S. Provisional Application No. 62/161,673 filed on May 14, 2015, all of which are herein incorporated by reference in their entirety.

TECHNICAL FIELD

The exemplary embodiments herein pertain to a display and a method that utilizes measured or calculated properties of the viewing environment in order to automatically vary the visual characteristics of a display according to a set of predefined rules. Some embodiments provide an autonomous display that exhibits optimal visual perception for image reproduction at all environmental viewing conditions.

BACKGROUND OF THE ART

Displays are used in a very wide range of applications, including entertainment (e.g., television, e-books), advertisement (e.g., shopping malls, airports, billboards), information (e.g., automotive, avionics, system monitoring, security), and cross-applications (e.g., computers, smart phones). As such, displays are generally subject to a wide range of viewing environments, and in many applications the viewing environment of the display is not a constant.

SUMMARY OF THE EXEMPLARY EMBODIMENTS

The exemplary embodiments herein utilize location-based and/or time-based determinations of ambient conditions in conjunction with stored characteristic display data to dynamically (in real-time) process and alter an image and/or video signal so that key display performance parameters such as brightness, black level, gamma, saturation, hue, and sharpness would be perceived as optimal, meaning they are tuned to their best intended rendering for the given viewing conditions. Other embodiments also provide the method by which a display is calibrated to perform as described as well as the method for performing the dynamic performance process.

The foregoing and other features and advantages of the present invention will be apparent from the following more detailed description of the particular embodiments, as illustrated in the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

A better understanding of an exemplary embodiment will be obtained from a reading of the following detailed description and the accompanying drawings wherein identical reference characters refer to identical parts and in which:

FIG. 1 is a graphical representation of a typical image reproduction process.

FIG. 2 is a block diagram for a signal encoding and decoding process.

FIG. 3 is a graphical representation of image signal transformations per ITU-R BT.709/1886.

FIG. 4 is a graphical representation of end-to-end power vs. ambient illumination.

FIG. 5 is a graphical representation of end-to-end power vs. ambient illumination in a discrete implementation.

FIG. 6 is a block diagram for the basic elements in an embodiment of the invention.

FIG. 7 is an illustration of reflected ambient light and its relationship with displayed light.

FIG. 8 is a logical flow chart for performing an exemplary embodiment of location-based determinations of ambient conditions.

FIG. 9 is block diagram for an embodiment using post-decoding adjustment of black level and/or linearity.

FIG. 10 is a graphical representation of example signal transforms of FIG. 8 using Equation (2).

FIG. 11 is a block diagram of an alternate embodiment for post-decoding adjustment.

FIG. 12 is a block diagram of an embodiment for pre-decoding adjustment of black level and/or linearity.

FIG. 13 is a graphical representation of example signal transforms of FIG. 11 using Equation (4).

FIG. 14 is graphical representation of example signal transforms of FIG. 11 using Equation (5).

FIG. 15 is graphical representation of example signal transforms of FIG. 11 using Equation (6).

FIG. 16 is graphical representation of example signal transforms of FIG. 11 using Equation (7).

FIG. 17 is a detailed view of the lower left hand corner of FIG. 15.

FIG. 18 provides a logical flowchart for performing an embodiment that uses the AAS technique during sunset/sunrise transition times while using a nighttime/daytime level for the remaining times.

FIG. 19 provides a logical flowchart for performing an embodiment that uses the AAS technique with only a single transition period while using nighttime/daytime instructions for the remaining times.

FIG. 20 provides a logical flowchart for performing the advanced embodiment that uses the AAS technique during sunset/sunrise transition times as well as the daytime while factoring in the local weather information.

DETAILED DESCRIPTION

The exemplary embodiments of the invention are described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, the size and relative sizes of layers and regions may be exaggerated for clarity.

The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

Embodiments of the invention are described herein with reference to illustrations that are schematic illustrations of idealized embodiments (and intermediate structures) of the invention. As such, variations from the shapes of the illustrations as a result, for example, of manufacturing techniques and/or tolerances, are to be expected. Thus, embodiments of the invention should not be construed as limited to the particular shapes of regions illustrated herein but are to include deviations in shapes that result, for example, from manufacturing.

Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.

A very high-level diagram of an exemplary image capture and reproduction process is shown in FIG. 1. Images typically originate from either real-world scenes captured by video/still cameras or from computer-generated scenery. The lofty goal of most reproduction systems is to display the most life-like image that is possible to the final human observer. There are many impediments to doing this perfectly; in fact, some “enhancements” are often purposely added to the displayed image to improve the viewing experience. One of the major impediments to high-fidelity reproduction is that the local viewing environment of the final observer cannot be definitively predicted, yet the viewing environment can have a profound impact on the visual quality of the reproduction. Also, the viewing environment can change almost continuously except in a few special cases such as the tightly controlled environment of a theater.

A subtle but very germane aspect of FIG. 1 is that the total light that is reflected from a physical object is essentially the linear summation of the reflected light from all light sources that impinge upon the object. In addition, an object may also emit its own light, and this light is also linearly added to the reflected contributions from the object in order to arrive at the total observed light. This is basically a statement that incoherent light behaves linearly in this regard (e.g., 1+1=2). As a result, the absolute brightness or luminance of any point in a scene is proportional to all constituent components of light that are traceable to that point. This is the reality that is presented to the human observer of a real scene, and is also the manner in which computer-generated scenery is typically created. Therefore, in theory a display device should also adhere to the principle of luminance linearity for the purest form of reproduction. Or more generally, the entire end-to-end chain of processes, from the light that enters a camera to the light that exits the display, should adhere to the principle of luminance linearity. This principle will be relevant to various aspects of the subject invention.

As mentioned above, the goal of a display should be to reproduce a life-like replica of the original scene. But there are several inherent and unavoidable limitations. One such limitation is the difficulty for a display to match the dynamic range of luminance that exists in the real world, especially at the upper end of the scale (e.g., the sun and reflections thereof). Another limitation is that a display is a predominately “flat” version of the original scene; hence true three-dimensional (3D) depth reproduction is not possible, although various “3D” technologies exist to produce the illusion of depth, at least from one or more specific perspectives. Also, common displays cannot begin to simulate the nearly hemispherical field-of-view of the human eye, although special venues such as IMAX® theaters attempt to overcome this. Finally, the display itself is a physical object that exists in some environment, and the environment itself can have a very significant impact on the visual quality of the reproduction.

In a traditional color display each pixel is typically comprised of 3 sub-pixels, one for each of the primary colors—typically red, green, and blue. While there are displays that may use 4 or more sub-pixels, the embodiments herein do not depend on the precise number of sub-pixels or colors that they represent. The information content of a displayed image is the result of uniquely commanding, or driving, each sub-pixel, with the specifics of the driving process being technology-dependent (e.g., CRT, plasma, LCD, OLED, etc.). It should be noted, that the exemplary embodiments herein can be utilized on any type of electronic display, and is not specific to one display type. The drive level of each sub-pixel can range from full off to full on—this is the fundamental process by which images are formed by a display. The total range of displayable colors (i.e., the color gamut) is obtained by varying the relative drive levels of the sub-pixels through their entire range of combinations. Non-primary colors are produced when the human eye integrates the 3 sub-pixels to produce an effective blended color via the controlled mixing of the primary colors. In the digital domain if the sub-pixel drive levels are defined with 8 digital bits then there can be a total of 2⁸=256 distinct drive levels per sub-pixel. A gray level is a special case where all sub-pixels are being driven at the same level (as defined by VESA FPDM 2.0). This will generally produce a ‘gray-like’ color ranging from full off (lowest brightness, appearing predominately black) to full on (highest brightness, appearing predominately white). Continuing with 8 bits per sub-pixel (often called 24-bit color: 3 sub-pixels×8 bits=24) there are 2²⁴=16,777,216 possible colors, but only 256 unique gray levels by the strict definition that gray levels are produced when all sub-pixels are identically driven. For simplicity we shall speak of gray levels on a sub-pixel basis (i.e., 256 gray levels for 8 bits of control) with the implicit understanding that neighboring sub-pixels are not necessarily driven to the same level as required for the generation of color images. This is because the invention stands independent of color reproduction, but is completely compatible with color reproduction.

Gamma (symbolized by γ) refers to the mathematic exponent in a power function S^(γ) that transforms the scaling of gray levels (on a sub-pixel basis) in an image. Although the roots of gamma processing trace back to the earliest days of vacuum-tube cameras and CRT displays, it is still a very relevant process in modern displays for improving the perceived resolution in the darker regions of an image where human vision is more sensitive to absolute changes in brightness.

The conceptually simplest image reproduction stream is illustrated in FIG. 2. Light from a real-world scene (L_(i)) is captured by the camera and falls onto a detector (commonly a solid-state pixilated detector using CCD or CMOS technology) that performs an optical-to-electrical (O/E) conversion to generate the initial source image signal S_(s). This image signal is typically a voltage signal that is approximately proportional to the amount of light falling on each pixilated detector element, but S_(s) may be immediately converted into a digital signal. Alternatively, the source image signal S_(s) may originate from computer-generated graphics that are typically developed in the linear domain in much the same way as light behaves in the real world. In either case, signal encoding occurs in the function block labeled ƒ_(e), which typically (though not necessarily) takes the form of a power function: ƒ_(e)=(S)^(α). Historically the α exponent is referred to as a gamma-correction exponent, but for the purposes of this discussion it will be referred to more generally as a signal encoding exponent. The resulting encoded signal S_(e) (=(S_(s))^(α)) then enters the display and is decoded by the function block labeled ƒ_(d), which typically (though not necessarily) takes the form of another power function: ƒ_(d)=(S)^(γ). By substitution the resulting decoded signal S_(d) (=(S_(e))^(γ)) that drives the display is related to the initial source image signal S_(s) via S_(d)=(S_(s))^(αγ). It is noted that in practice there are variants to the relatively simple transformations described above, but the general process of encoding and decoding image signals is the same.

Referring still to FIG. 2, the decoded image signal S_(d) is then used to drive the components in the display that convert the electrical image data into light that is emitted by the display (L_(o)) via an electrical-to-optical (E/O) conversion process. The details of the E/O process are unique to the display technology; e.g., LCD, plasma, OLED, etc. In fact, for the virtually obsolete CRT technology the decoding function ƒ_(d) was an integral part of the E/O conversion process.

It is noted in the above discussions that the signals ‘S’ represent normalized values typically ranging from 0 to 1. For the case of voltage signals, the actual signals would be normalized by V_(MAX) such that S=V_(actual)/V_(MAX). For the case of digital signals, the signals would be normalized by D_(MAX) such that S=D_(actual)/D_(MAX) (e.g., for an 8-bit channel D_(MAX)=2⁸=256). The signal normalization process generally requires processing steps that are not explicitly shown in FIG. 2, but are implied herein. As long as normalized signals are consistently used it does not matter whether the signals represent voltage levels or bit levels, and both would be covered by the exemplary embodiments herein.

As a specific example of an end-to-end image processing stream, ITU-R BT.709-5(2002) recommends encoding a television signal with an a value of (Note: this is a slight simplification of BT.709), while ITU-R BT.1886(2011) recommends decoding a television signal with a γ value of 2.4, leading to an end-to-end power (ε) of 1.2: S_(d)=S_(e) ^(2.4)=(S_(s) ^(0.5))^(2.4)=S_(s) ^((0.5×1.2))=S_(s) ^(1.2). The signal transformations that occur in the above ITU-defined processes are illustrated in FIG. 3, where the parameters for the horizontal ‘input’ axis and vertical ‘output’ axis depend on the relevant processing step. For example, during the signal encoding operation the horizontal axis would represent S_(s) (as the input signal) while the vertical axis would represent S_(e) (as the output signal). The implied normalization of signals is evident in FIG. 3 since all signal levels reside between the values of 0 and 1.

It is noted in FIG. 3 that the ITU-R BT.709/1886 signal transformation processes do not strictly adhere to the aforementioned principle of end-to-end luminance linearity since the reproduction system has an end-to-end power law exponent of c=1.2, rather than c=1.0 as would be the case for pure linearity. This produces the slight curve of the black line in FIG. 3. The primary reason for deviating from pure linearity is that a camera/display cannot practically reproduce the full dynamic range of light that exists in the real world. As a result, the end-to-end exponent (or power) of ε=1.2 is generally considered to produce a better perceptual experience for in-home television viewing with an average background illumination of ≈200 lux. This is based on reproducing a more life-like image contrast when the human eye is adapted to the typical in-home environment.

However, it is common for movie producers to deviate from ITU-R BT.709 encoding in order to target much darker viewing environments such as theaters with a background illumination of ≈1-10 lux and/or to create artistically-flavored video content. A typical encoding exponent for this application is approximately α=0.60. If this signal is subsequently decoded with a power exponent γ=2.4 then the end-to-end linearity power is ε≈1.45.

Another popular image encoding scheme is the sRGB standard that is intended for image rendering in moderately bright environments such as work offices with a background illumination of ≈350 lux. sRGB calls for a signal encoding exponent approximating α=0.45. If such an sRGB-encoded signal is subsequently decoded with a power exponent γ=2.4 then the end-to-end linearity power is ε≈1.1.

The three different viewing environments discussed above and their suggested end-to-end linearity power exponents can be curve-fitted and used to extrapolate to higher levels of ambient illumination. The trend is given by Eq(1), which is plotted in FIG. 4. Hence, once the ambient illumination level (I_(a)) has been measured then the desired end-to-end linearity power exponent (ε) can be determined from Eq(1). This relationship between I_(a) and ε will be germane to certain aspects of the invention as described in following sections. The relationship given by Eq(1) is merely representative, and the invention is not dependent on the exact form of Eq(1). In general, the invention may implement any arbitrary relationship between I_(a) and ε. ε≅1+0.48·e ^(−(0.0045*Ia))  Eq(1)

It is noted in FIG. 4 that as the ambient illumination increases that the desired end-to-end power asymptotically approaches purely linear; i.e., ε→1. Above 1000 lux the power ε is essentially equal to 1. This is basically a statement that as the eye becomes adapted to full daylight conditions that the display should start to adhere to the principle of pure end-to-end luminance linearity as was previously discussed. However, few if any displays actually implement a power of ε≈1.

Alternatively, the function described by Eq(1) can be implemented in a discrete fashion, as illustrated in FIG. 5. The number of discretized levels illustrated in FIG. 5 is representative; various embodiments of the invention may implement an arbitrary number of discrete levels, depending on the processing abilities and application.

FIG. 6 provides a schematic view of the basic components of an exemplary embodiment. Here, an environment processor 200 may obtain video data from a video source 150. The display controller 110 may contain several components, including but not limited to a microprocessor and electronic storage (which can store the calibration data 120). The environmental processor 200 is preferably then in electrical communication with the display 300. In some embodiments, it would be the display controller 110 that is in electrical communication with the video source 150 and the display 300. One or more microprocessors found on the display controller 110 can perform any of the functionality described herein.

The video source 150 can be any number of devices which generate and/or transmit video data, including but not limited to television/cable/satellite transmitters, DVD/Blue Ray players, computers, video recorders, or video gaming systems. The display controller 110 may be any combination of hardware and software that utilizes the location-based ambient environment data and modifies the video signal based on the calibration data. The calibration data 120 is preferably a nonvolatile data storage which is accessible to the display controller that contains calibration data for the location-based ambient environment data and optionally including reflectance information for the display assembly. The display 300 can be any electronic device which presents an image to the viewer.

Brightness Adjustment

There are many applications where the desired brightness (i.e., maximum luminance) of a display may change, but perhaps the most obvious case is when displays are used outdoors. In this case the ambient light illumination that surrounds the display may vary anywhere from the dark of night to the full sun of midday—roughly a factor of ten million, or 7 orders of magnitude.

The operation of the human visual system (comprising the eye, optic nerve, and brain) is a very complex subject; indeed, there is not full consensus on its parametric performance by most of the leading experts in the field. The issue is exacerbated by the highly adaptive and non-linear nature of the human visual system. Hence, there is no utility in attempting to define specific visual capabilities in this disclosure. However, there are a few generalities on which everyone would agree. For one, the human visual system can adapt over a very wide range of light levels given some time to adapt, by perhaps as much as 12 orders of magnitude. However, there is a limit to the instantaneous dynamic range of human vision at any particular level of adaptation, perhaps 2-3 orders of magnitude (this varies with the absolute level of adaptation).

A specific adaptation level depends on the integrated field-of-view of the eye (nearly hemispherical) taking into account all viewable objects and sources of light in this range. Since a display will only occupy some fraction of the total field-of-view then the maximum brightness of the display should be varied to accommodate the overall adaptation of human vision to various light levels, which of course would include the light from the display itself. For example, a display that produces 500 candela per square meter (nits) might be painfully bright when viewing at nighttime or other dark environments (unless one walked up close enough to the display so that it mostly fills their field-of-view and then allows some time for proper adaptation to occur), but the same display would appear somewhat dim and unimpressive on a bright sunlit day, and in fact may have lower gray levels that are indiscernible.

Black Level and Linearity Adjustment

Any display will reflect ambient environmental light to a certain degree. In some instances the reflected light level may be high enough to substantially dominate the darker regions of the displayed image or video content (hereafter simply ‘image’). When this occurs the visual details in the darker regions of the image are essentially “washed out”. Said another way, the display cannot produce visually discernable brightness levels in an image that fall below the equivalent brightness level of the reflected ambient light. The general situation is illustrated in FIG. 7, where RAL is the effective brightness of the reflected ambient light and DBL is the displayed brightness level of any portion of an image. Wherever DBL<RAL in the image then there will be a discernable loss in image content in those regions. An analogy is not being able to hear quieter passages within music while listening in an environment that has excessive background noise. For this very reason most radio broadcasts transmit signals that have a compressed dynamic range for improved “perceptual” listening in the noisy environment of a car.

To recover the visual discernment of darker regions within the image one may artificially raise the black level of the image signal so that the displayed brightness of the black level is more or less equal to the effective brightness of the reflected ambient light. This is equivalent to creating a signal-to-noise ratio >1 for all displayed light levels vs. the reflected ambient light. As a result a pure black region in the original image would become a specific level of dark gray depending on the ambient light level; i.e., the dynamic range of the image is compressed.

In addition to raising the black level, one may also alter the end-to-end linearity (or gamma) of the display system in order to enhance the contrast of select regions of the gray scale (also known as tone scale) depending on the specific application and rendering intent. This could be based on the previous Eq(1), as illustrated in FIG. 4 and FIG. 5, or any other defined relationship.

For outdoor applications and certain indoor applications the amount of ambient light that is reflected from a display will vary almost continuously depending on the time of day and other operating conditions (e.g., weather, shadowing effects, mood lighting, etc.). Therefore, an exemplary embodiment of the invention provides a means of automatically adjusting the black level and/or the gamma of a display according to pre-defined rules, such as but not limited to those previously discussed.

It is noted that in darkened theater or similar environments there is little or no reflected ambient light from the display, in which case there is no specific need to raise the black level of the image, although it may still be desired to alter the end-to-end linearity (gamma) of images in certain applications; for example, artistic liberty in digital signage.

The conceptually and functionally easiest location to perform autonomous black level and linearity adjustments are after the normal image signal decoding process, as generally illustrated in FIG. 8. In this figure the signal flow is similar to that described previously in FIG. 2, except that now a new signal processing block labeled ƒ_(p) has been inserted into the signal flow for the purposes of providing automatic, real-time image signal adjustment in response to varying environmental conditions (i.e., an environmentally-reactive adjustment). The processing block represented by ƒ_(p) can be viewed as a post-decoding processor since it operates after the normal signal decoding processor that is represented by f_(d).

Determining Ambient Environmental Conditions

In an exemplary embodiment, the ambient environmental conditions can be determined based on the geographical location of the display and based on the calendar date, the approximate times of sunrise and sunset can be calculated and compared to the current time in order to determine what the ambient environmental conditions currently are.

FIG. 8 provides a logical flow chart for performing a first embodiment of the method which is controlled only based on the display location data. As an initial step in this embodiment, the system preferably determines the geographical location data for the display. This can be performed in a number of ways. First, the physical address of the display may be used to determine the city/state in which the display is located. Second, the physical address of the display can be exchanged for the latitude and longitude coordinates. This technique can be performed by accessing a number of online tools, including but not limited to www.latlong.net. Third, the location of the display can be determined by reading coordinates from a GPS capable device 400 within the electronic display, and may form part of the display controller 110 or could be a separate device in electrical connection with the display controller 110. If the coordinates result in a physical address then this can be converted to the latitude and longitude coordinates, or vice versa by the techniques noted above.

Once the location of the display is determined, the sunset and sunrise times for this location are preferably determined. The timing for performing this step can vary. In some embodiments, this step could be performed only once, with 365 days of data being used for the display throughout the remainder of the display's lifetime. Alternatively, this step could be performed annually, monthly, weekly, or even daily. This step can also be performed in a number of ways. First, when given a physical address, the system can determine the sunrise/sunset times based on this address and store them within the electronic storage on the display controller 110. Second, when given latitude/longitude coordinates, the system can determine the sunrise/sunset times based on these coordinates and store them within the electronic storage on the display controller 110. The location data can be converted to sunrise/sunset times by accessing any number of online databases, including but not limited to: www.sunrisesunset.com, www.suncalc.net, and various NOAA online tools. Additionally the latitude and longitude data can be used to calculate sunrise/sunset times based on the sunrise equation: cos ω_(o)=−tan φ×tan δ where:

ω_(o) is the hour angle at either sunrise (when negative value is taken) or sunset (when positive value is taken);

φ is the latitude of the observer on the Earth; and

δ is the sun declination.

It should be noted that the steps of determining geographical location data for the display and determining approximate sunrise/sunset times based on the geographical location data, may be performed either electronically or manually and may also be performed before the display is shipped to its actual location. In other embodiments, the display may be installed within its actual location prior to performing these two steps.

Once the approximate sunrise/sunset times are determined (and preferably stored at the display), the system would then check to see what the current time is and determine whether it is currently night or day. While the figure reads the logic as “does the current time fall after sunset and before sunrise,” it seems clear that this could also be performed by determining “does the current time fall after sunrise and before sunset” and it makes no difference in any of the subject embodiments. In this first embodiment, if the system determines that it is currently nighttime, the system provides nighttime instructions to the display controller 110. Alternatively, if the system determines that it is daytime, the system provides nighttime instructions to the display controller 110. Generally speaking, the nighttime/daytime instructions may simply be an indication sent to the display controller 110 (possibly from another component within the display controller 110) that simply indicates that it's currently daytime/nighttime.

The relative daytime and nighttime settings and variables for the display can be selected for this embodiment through a simple binary operation where a first set of settings and variables for the display is desired during nighttime and a second set of settings and variables for the display is desired during daytime. Thus, an appropriate gamma or black level may be selected for the “nighttime instructions” with another for the “daytime instructions” and this could be selected from a look-up table based on a desired relationship between ambient light and gamma (similar to what is shown in FIG. 4 or 5) or any other desired relationship between ambient light and gamma or black level (or other display settings).

The dashed lines on the figure indicate the option of the system returning to determine the approximate sunrise/sunset times, if practicing an embodiment where this data is updated annually, monthly, weekly, or daily.

In FIG. 9, the daytime/nighttime indications (location-based determinations of ambient conditions) are preferably sent to an environmental processing unit labeled ‘Proc’ that contains at minimum a lookup table and/or computational algorithms that determine the desired display black level (and other settings discussed below) relative to the daytime/nighttime indications. This environmental processing unit can be a part of the display controller 110 and may use the microprocessor on the display controller 110 or a separate processor. Additionally the environmental processor may communicate with electronic storage having a lookup table and/or computational algorithms for image signal linearity modification (e.g., a power function) relative to the daytime/nighttime instructions. Also, a provision to add real-time programmable instructions to the environmental processor is shown. The programmable instructions can be used in a wide variety of ways, including but not limited to altering or overriding the environmental-based processing depending on time-of-day, display content, etc. In summary, the environmental processor output signal S_(a) contains the instantaneous value of the desired display black level S_(b) and optionally a signal linearity modification value that, for the case of a simple power function, takes the form of an exponent herein called β.

Still referring to FIG. 9, the decoded image signal S_(d) and environmentally-reactive control signal S_(a) are fed into the image signal processing block labeled ƒ_(p) which, in an exemplary embodiment, produces a final display driving signal S_(p) according to Eq(2) below. This equation assumes that the all three image signal transformations (encoding, decoding, and post-decoding) are performed with power law functions. Signal encoding and decoding with power law functions, are typical in the industry, although this is not a necessity for the invention as other functions may be used with various embodiments herein. The right-hand side of Eq(2) represents the processing functionality of block ƒ_(p), accepting the input signals S_(a) and S_(d) and outputting the signal S_(p).

$\begin{matrix} {S_{p} = {S_{b} + {\left( {1 - S_{b}} \right) \cdot S_{d}^{(\frac{\beta}{\alpha\gamma})}}}} & {{Eq}(2)} \end{matrix}$

-   -   α=signal encoding power exponent (assuming power law encoding)     -   γ=signal decoding power exponent (assuming power law decoding)         S_(b) and β are contained in the environmentally-reactive         control signal S_(a):     -   S_(b)=desired black level offset as a fraction of the full-scale         signal     -   β=linearity modifier power exponent (assuming power law         modification)

If the encoding exponent α and the decoding exponent γ are known quantities, as assumed in Eq(2), then the final end-to-end signal linearity is determined solely by the value of the linearity modifier exponent β; i.e., β is equivalent to the previously defined end-to-end linearity power exponent ε. The encoding exponent α is typically known based on the source of the image data, and the decoding exponent γ is either given by the manufacturer of the display and/or can be determined by testing. Eq(2) offers a specific example of the processes described in this section based on a specific method of signal encoding/decoding, but the general process is the same for any other method of encoding/decoding.

The functionality of Eq(2) is illustrated in FIG. 10. Here, the encoding process is a single power law transformation with an exponent α=0.50 (as approximated by ITU-R BT.709-5), and the decoding process is a single power law transformation with an exponent γ=2.40 (per ITU-R BT.1886). For this example the requested black level has been set at 0.1 and the linearity modifier exponent β has been set to 1.20, but generally these values will be (preferably automatically) chosen by the system based on the daytime/nighttime indications. The effective decoding transformation is given by the lower curve, and the end-to-end signal transformation is given by the middle curve which exhibits the desired black level offset of 0.1 and a slightly drooped linearity that is consistent with an end-to-end signal transform power of ε=1.20.

Alternatively, the functionality of the image signal decoding block ƒ_(d) could be absorbed into the environmental processor block ƒ_(p) as a new processing block labeled ƒ_(dp), as shown in FIG. 11.

In FIG. 11 the display driving signal S_(p) is formed by Eq(3)

$\begin{matrix} {S_{p} = {S_{b} + {\left( {1 - S_{b}} \right) \cdot S_{e}^{(\frac{\beta^{*}}{\alpha})}}}} & {{Eq}(3)} \end{matrix}$

Where β*=β/γ, and all other parameters are defined as before. Eq(3) possesses the same functionality as Eq(2) and hence produces the same results as shown in FIG. 10.

In certain instances it is more convenient, or even necessary, to perform black level and/or linearity adjustments prior to the normal signal decoding transformation. The general process is illustrated in FIG. 12. In this figure it is seen that the environmentally-reactive image signal processing function, represented by ƒ_(p), has been moved ahead of the normal image signal decoder function represented by ƒ_(d). In this manner ƒ_(p) can be viewed as a pre-decoding function.

Referring to FIG. 12, the encoded image signal S_(e) and environmentally-reactive control signal S_(a) are fed into the image signal processing block labeled ƒ_(p) which, in an exemplary embodiment, produces a final display driving signal S_(p) according to Eq(4) below. This equation assumes that the all three image signal transformations (encoding, pre-decoder processing, and decoding) are performed with power law functions. Signal encoding and decoding with power law functions, are typical in the industry, although this is not a necessity for any of the embodiments herein. The right-hand side of Eq(4) represents the processing functionality of block ƒ_(p), accepting the input signals S_(a) and S_(e) and outputting the signal S_(p).

$\begin{matrix} {S_{p} = \left\lbrack {S_{b} + {\left( {1 - S_{b}} \right) \cdot S_{e}^{(\frac{\beta}{\alpha})}}} \right\rbrack^{\frac{1}{\gamma}}} & {{Eq}(4)} \end{matrix}$

-   -   α=signal encoding power exponent (assuming power law encoding)     -   γ=signal decoding power exponent (assuming power law decoding)         S_(b) and β are contained in the environmentally-reactive         control signal S_(a):     -   S_(b)=desired black level offset as a fraction of the full-scale         signal     -   β=linearity modifier power exponent (assuming power law         modification)

If the encoding exponent α and the decoding exponent γ are known quantities, as assumed in Eq(4), then the final signal linearity is determined solely by the value of the linearity modifier exponent β; i.e., β is equivalent to the previously defined end-to-end linearity power exponent ε. The encoding exponent α is typically known based on the source of the image data, and the decoding exponent γ is either given by the manufacturer of the display and/or can be determined by testing. Eq(4) offers a specific example of the processes described in this section based on a specific method of signal encoding/decoding, but the general process is the same for any other method of encoding/decoding.

An example of the functionality of Eq(4) is illustrated in FIG. 13. Here, the encoding process is a single power law transformation with an exponent α=0.50 (as approximated by ITU-R BT.709-5), and the decoding process is a single power law transformation with an exponent γ=2.40 (per ITU-R BT.1886). For this example the requested black level has been set at 0.1 and the linearity modifier exponent β has been set to 1.20. The effective decoding transformation is given by the lower curve, and the end-to-end signal transformation is given by the middle curve which exhibits the desired black level offset of 0.1 and a slightly drooped linearity that is consistent with an end-to-end signal transform power of c=1.20. As expected, FIG. 13 appears identical to FIG. 10 because the same black level (S_(b)) and linearity modifier (β) have been requested in both cases.

One may modify the scenarios described in the previous sections in order to maintain and/or reduce gray levels below a certain threshold. A primary reason for doing this is to retain the attractive power-saving attributes of backlight dynamic dimming in liquid crystal displays (LCD). Dynamic dimming has been addressed by co-pending application Ser. No. 12/793,474 filed on Jun. 3, 2010 and is fully incorporated herein by reference in its entirety.

For the purposes of illustration, the embodiment described in this section will assume a pre-decoder processor as shown previously in FIG. 12.

Exemplary Embodiment 1

Referring to FIG. 12 the encoded image signal S_(e) and environmentally-reactive control signal S_(a) are fed into the image signal processing block labeled ƒ_(p) which, in an exemplary embodiment, produces a pre-decoding image signal S_(p) according to Eq(5) below. This equation assumes that the all three image signal transformations (encoding, pre-decoder processing, and decoding) are performed with power law functions, although this is not a necessity for the invention. Eq(5) represents the processing functionality of block ƒ_(p), accepting the input signals S_(a) and S_(e) and outputting the signal S_(p). A new feature of this embodiment is the introduction of a gray level threshold labeled S_(t), leading to the two conditional cases expressed in Eq(5). The 1^(st) condition is applicable when encoded signal levels fall below a level that is derived from S_(t), in which case those signal levels will be set to 0 (i.e., full black). Otherwise, the 2^(nd) condition in Eq(5) is applicable for encoded signal levels that fall above the level derived from S_(t).

$\begin{matrix} {{{\left. {{{{\left. 1 \right)\mspace{14mu}{for}\mspace{14mu} S_{e}} \leq {\left( S_{t} \right)^{\alpha}\text{:}\mspace{14mu} S_{p}}} = 0}2} \right)\mspace{14mu}{for}\mspace{14mu} S_{e}} > {\left( S_{t} \right)^{\alpha}\text{:}}}\mspace{25mu}{S_{p} = \left\{ {S_{b} + {\frac{\left( {\left( S_{e} \right)^{\frac{1}{\alpha}} - S_{t}} \right)^{\beta}}{\left( {1 - S_{t}} \right)^{\beta}}\left( {1 - S_{b}} \right)}} \right\}^{\frac{1}{\gamma}}}} & {{Eq}(5)} \end{matrix}$

-   -   α=signal encoding power exponent (assuming power law encoding)     -   γ=signal decoding power exponent (assuming power law decoding)         S_(t), S_(b) and β are contained in the environmentally-reactive         control signal S_(a):     -   S_(t)=desired gray level threshold as a fraction of the         full-scale input signal     -   S_(b)=desired black level offset as a fraction of the full-scale         output signal     -   β=linearity modifier power exponent (assuming power law         modification)

The gray level threshold (S_(t)) may be: 1) an environmentally-reactive variable determined via a lookup table or computational algorithms within the processing block labeled ‘Proc’, or 2) provided by the ‘programmable instructions’ port on ‘Proc’, or 3) be a fixed value pre-programmed within ‘Proc’, or 4) any combination of the above. Alternatively, S_(t) may be a fixed value within the ƒ_(p) processing block.

If the encoding exponent α and the decoding exponent γ are known quantities, as assumed in Eq(5), then the final signal linearity beyond the gray level threshold S_(t) is determined solely by the value of the linearity modifier exponent β; i.e., β is equivalent to the previously defined end-to-end linearity power exponent ε. The encoding exponent α is typically known based on the source of the image data, and the decoding exponent γ is either given by the manufacturer of the display and/or can be determined by testing. Eq(5) offers a specific example of the processes described in this section based on a specific method of signal encoding/decoding, but the general process is the same for any other method of encoding/decoding.

An example of the functionality of Eq(5) is illustrated in FIG. 14. Here, the encoding process is a single power law transformation with an exponent α=0.50 (as approximated by ITU-R BT.709-5), and the decoding process is a single power law transformation with an exponent γ=2.40 (per ITU-R BT.1886). For this example the requested black level has been set at 0.1, the requested black level threshold has been set to 0.05, and the linearity modifier exponent β has been set to 1.20. The effective decoding transformation is given by the lower curve, and the end-to-end signal transformation is given by the middle curve which exhibits the desired black level offset of 0.1 at a threshold of 0.05, and a slightly drooped linearity that is consistent with an end-to-end signal transform power of ε=1.20.

Exemplary Embodiment 2

The “cliff” type of threshold cutoff produced by Eq(5) and illustrated in FIG. 13 may produce objectionable visual artifacts in the image, especially for higher levels of thresholds and/or black level offsets. This would manifest as darker regions in an image that suddenly and unnaturally become black—this a phenomena that is sometimes referred to as banding. This effect can be reduced by softening the edge of the threshold.

Referring back to FIG. 12 the encoded image signal S_(e) and environmentally-reactive control signal S_(a) are fed into the image signal processing block labeled ƒ_(p) which, in an exemplary embodiment, produces a pre-decoding image signal S_(p) according to Eq(6) below. This equation assumes that the all three image signal transformations (encoding, pre-decoder processing, and decoding) are performed with power law functions, although this is not a necessity for the invention. Eq(6) represents the processing functionality of block ƒ_(p), accepting the input signals S_(a) and S_(e) and outputting the signal S_(p). A new feature of this embodiment is the introduction of a gray level turn-off point labeled S_(o), leading to the three conditional cases expressed in Eq(6). The 1^(st) condition is applicable when the encoded signal levels fall below a level that is derived from S_(o), in which case those signal levels are set to 0 (i.e., full black). Next, for encoded signal levels that fall above the level derived from S_(o) but below the threshold level derived from S_(t) then the 2^(nd) condition in Eq(6) is applicable. Otherwise, the 3^(rd) condition in Eq(6) is applicable for encoded signal levels that fall above the level derived from S_(t). The 2^(nd) condition is used to soften the transition between the raised black level and the full off level by creating a linear ramp in the display drive signal (S_(d)) between S_(o) (drive level=0) to S_(t) (drive level=S_(b)).

$\begin{matrix} {{{\left. {{{\left. {{{{\left. 1 \right)\mspace{14mu}{for}\mspace{14mu} S_{e}} \leq {\left( S_{o} \right)^{\alpha}\text{:}\mspace{14mu} S_{p}}} = 0}2} \right)\mspace{14mu}{for}\mspace{14mu}\left( S_{o} \right)^{\alpha}} < S_{e} < {\left( S_{t} \right)^{\alpha}\text{:}}}\mspace{25mu}{S_{p} = \left\{ {\left( \frac{S_{b}}{S_{t} - S_{o}} \right)\left( {\left( S_{e} \right)^{\frac{1}{\alpha}} - S_{o}} \right)} \right\}^{\frac{1}{\gamma}}}3} \right)\mspace{14mu}{for}\mspace{14mu} S_{e}} \geq {\left( S_{t} \right)^{\alpha}\text{:}}}\mspace{25mu}{S_{p} = \left\{ {S_{b} + {\frac{\left( {\left( S_{e} \right)^{\frac{1}{\alpha}} - S_{t}} \right)^{\beta}}{\left( {1 - S_{t}} \right)^{\beta}}\left( {1 - S_{b}} \right)}} \right\}^{\frac{1}{\gamma}}}} & {{Eq}(6)} \end{matrix}$

-   -   α=signal encoding power exponent (assuming power law encoding)     -   γ=signal decoding power exponent (assuming power law decoding)         S_(o), S_(t), S_(b) and β are contained in the         environmentally-reactive control signal S_(a):     -   S_(o)=desired gray level turn-off point as a fraction of the         full-scale input signal     -   S_(t)=desired gray level threshold as a fraction of the         full-scale input signal     -   S_(b)=desired black level offset as a fraction of the full-scale         output signal     -   β=linearity modifier power exponent (assuming power law         modification)

The gray level turn-off point (S_(o)) and gray level threshold (S_(t)) may be: 1) environmentally-reactive variables determined via a lookup table or computational algorithms within the processing block labeled ‘Proc’, or 2) provided by the ‘programmable instructions’ port on ‘Proc’, or 3) be fixed values pre-programmed within ‘Proc’, or 4) any combination of the above. Alternatively, S_(o) and S_(t) may be fixed values within the ƒ_(p) processing block.

If the encoding exponent α and the decoding exponent γ are known quantities, as assumed in Eq(6), then the final signal linearity beyond the gray level threshold S_(t) is determined solely by the value of the linearity modifier exponent β; i.e., β is equivalent to the previously defined end-to-end linearity power exponent ε. The encoding exponent α is typically known based on the source of the image data, and the decoding exponent γ is either given by the manufacturer of the display and/or can be determined by testing. Eq(6) offers a specific example of the processes described in this section based on a specific method of signal encoding/decoding, but the general process is the same for any other method of encoding/decoding.

An example of the functionality of Eq(6) is illustrated in FIG. 15. Here, the encoding process is a single power law transformation with an exponent α=0.50 (as approximated by ITU-R BT.709-5), and the decoding process is a single power law transformation with an exponent γ=2.40 (per ITU-R BT.1886). For this example the requested black level offset has been set at 0.1, the requested gray level turn-off has been set to 0.02, the gray level threshold has been set to 0.05, and the linearity modifier exponent β has been set to 1.20. The effective decoding transformation is given by the lower curve, and the end-to-end signal transformation is given by the middle curve which exhibits the desired black level offset of 0.1, a gray level turn-off of 0.02, and gray level threshold of 0.05, and a slightly drooped linearity that is consistent with an end-to-end signal transform power of ε=1.20. The linear ramp between (S_(o), 0) and (S_(t), S_(b)) serve to reduce the aforementioned banding effect.

Exemplary Embodiment 3

The linear ramp provided as a transition between full off and threshold in the previous embodiment affords a significant reduction in visual artifacts, or banding, but there is still a sharp point in the end-to-end transform curve shown in FIG. 15 that has the potential to produce visual artifacts. To further improve the transition, a specific example using a sine curve will be described below, although other functions could be used.

Referring back to FIG. 12 the encoded image signal S_(e) and environmentally-reactive control signal S_(a) are preferably fed into the image signal processing block labeled ƒ_(p) which, in an exemplary embodiment, produces a pre-decoding image signal S_(p) according to Eq(7) below. This equation assumes that the all three image signal transformations (encoding, pre-decoder processing, and decoding) are performed with power law functions, although this is not a necessity for the invention. Eq(7) represents the processing functionality of block ƒ_(p), accepting the input signals S_(a) and S_(e) and outputting the signal S_(p). A new feature of this embodiment is the introduction of a gray level turn-off point labeled S_(o), leading to the three conditional cases expressed in Eq(7). The 1^(st) condition is applicable when the encoded signal levels fall below a level that is derived from S_(o), in which case those signal levels are set to 0 (i.e., full black). Next, for encoded signal levels that fall above the level derived from S_(o) but below the threshold level derived from S_(t) then the 2^(nd) condition in Eq(7) is applicable. Otherwise, the 3^(rd) condition in Eq(7) is applicable for encoded signal levels that fall above the level derived from S_(t). The 2^(nd) condition is used to soften the transition between the raised black level and the full off level by creating a sine-curve ramp in the display drive signal (S_(d)) between S_(o) (drive level=0) to S_(t) (drive level=S_(b)).

$\begin{matrix} {{{\left. {{{{\left. {{{{\left. 1 \right)\mspace{14mu}{for}\mspace{14mu} S_{e}} \leq {\left( S_{o} \right)^{\alpha}\text{:}\mspace{14mu} S_{p}}} = 0}2} \right)\mspace{14mu}{for}\mspace{14mu}\left( S_{o} \right)^{\alpha}} < S_{e} < {\left( S_{t} \right)^{\alpha}\text{:}}}\mspace{25mu}{S_{p} = \left\{ {S_{b} \cdot {\sin\left\lbrack {\frac{\pi}{2}\left( \frac{\left( S_{e} \right)^{\frac{1}{\gamma}} - S_{o}}{S_{t} - S_{o}} \right)} \right\rbrack}} \right\}^{\frac{1}{\gamma}}}}3} \right)\mspace{14mu}{for}\mspace{14mu} S_{e}} \geq {\left( S_{t} \right)^{\alpha}\text{:}\mspace{25mu} S_{p}}} = \left\{ {S_{b} + {\frac{\left( {\left( S_{e} \right)^{\frac{1}{\alpha}} - S_{t}} \right)^{\beta}}{\left( {1 - S_{t}} \right)^{\beta}}\left( {1 - S_{b}} \right)}} \right\}^{\frac{1}{\gamma}}} & {{Eq}(7)} \end{matrix}$

-   -   α=signal encoding power exponent (assuming power law encoding)     -   γ=signal decoding power exponent (assuming power law decoding)         S_(o), S_(t), S_(b) and β are contained in the         environmentally-reactive control signal S_(a):     -   S_(o)=desired gray level turn-off point as a fraction of the         full-scale input signal     -   S_(t)=desired gray level threshold as a fraction of the         full-scale input signal     -   S_(b)=desired black level offset as a fraction of the full-scale         output signal     -   β=linearity modifier power exponent (assuming power law         modification)

The gray level turn-off point (S_(o)) and gray level threshold (S_(t)) may be: 1) environmentally-reactive variables determined via a lookup table or computational algorithms within the processing block labeled ‘Proc’, or 2) provided by the ‘programmable instructions’ port on ‘Proc’, or 3) be fixed values pre-programmed within ‘Proc’, or 4) any combination of the above. Alternatively, S_(o) and S_(t) may be fixed values within the ƒ_(p) processing block.

If the encoding exponent α and the decoding exponent γ are known quantities, as assumed in Eq(7), then the final signal linearity beyond the gray level threshold S_(t) is determined solely by the value of the linearity modifier exponent β; i.e., β is equivalent to the previously defined end-to-end linearity power exponent ε. The encoding exponent α is typically known based on the source of the image data, and the decoding exponent γ is either given by the manufacturer of the display and/or can be determined by testing. Eq(7) offers a specific example of the processes described in this section based on a specific method of signal encoding/decoding, but the general process is the same for any other method of encoding/decoding.

An example of the functionality of Eq(7) is illustrated in FIG. 16. Here, the encoding process is a single power law transformation with an exponent α=0.50 (as approximated by ITU-R BT.709-5), and the decoding process is a single power law transformation with an exponent γ=2.40 (per ITU-R BT.1886). For this example the requested black level offset has been set at 0.1, the requested gray level turn-off has been set to 0.02, the gray level threshold has been set to 0.05, and the linearity modifier exponent β has been set to 1.20. The effective decoding transformation is given by the lower curve, and the end-to-end signal transformation is given by the middle curve which exhibits the desired black level offset of 0.1, a gray level turn-off of 0.02, and gray level threshold of 0.05, and a slightly drooped linearity that is consistent with an end-to-end signal transform power of ε=1.20.

A close-up of the lower left-hand corner of FIG. 16 is shown below in FIG. 17. This shows a smoother transition of the end-to-end signal transform at the gray level threshold, in this case at S_(t)=0.05.

It bears repeating that all examples provided in this section are provided solely for the clarification of the general principles of the invention, and do not limit the scope of the invention. In particular, functions other than the sine function may be used in Eq(7) to provide “tangential-matching” of the slopes of the curves at the threshold point for further improvement of gray level processing in this region.

Exemplary Embodiment 4

The embodiment described in this section illustrates the implementation of autonomous black level and linearity adjustment using a very common industry-standard method of image encoding: ITU-R BT.709-5(2002), and image decoding: ITU-R BT.1886(2011). This embodiment also serves to generally illustrate how this invention may be adapted to any encoded/decoded signal transformation formats.

The BT.709 encoding process is described by Eq(8). The 1^(st) condition in Eq(8) is intended to prevent a nearly infinite slope in the transform function for small signals (i.e., darkest gray levels), as would be the case for a purely power-law function, that would be problematic for noise at such low levels.

$\begin{matrix} {S_{e} = \left\{ \begin{matrix} {\left. 1 \right)\mspace{14mu}{4.5 \cdot S_{s}}} & {{{if}\mspace{14mu} S_{s}} < 0.018} \\ {{\left. 2 \right)\mspace{14mu}{1.099 \cdot S_{s}^{\alpha}}} - 0.099} & {{{if}\mspace{14mu} S_{s}} \geq {0.018\left( {{{where}\mspace{14mu}\alpha} = 0.45} \right)}} \end{matrix} \right.} & {{Eq}(8)} \end{matrix}$

The BT.1886 decoding process is simply a power-law transformation as described by Eq(9). S _(d) =S _(p) ^(γ) (where γ=2.40)  Eq(9)

Referring back to FIG. 12, the encoded image signal S_(e) and environmentally-reactive control signal S_(a) are fed into the image signal processing block labeled ƒ_(p) which, in an exemplary embodiment, produces a pre-decoding image signal S_(p) according to Eq(10) below which represents the processing functionality of block ƒ_(p), accepting the input signals S_(a) and S_(e) and outputting the signal S_(p). The break point at S_(s)=0.018 in the encoding process described by Eq(8) leads to the two sets of conditional cases as expressed in Eq(10). The 1^(st) set of conditions is applicable when the encoded signal level S_(e) falls below the value of 0.081 (=4.5×0.018), leading to three sub-conditions 1a-1c that are dependent on the encoded signal level S_(e) relative to the black level transition parameters S_(e) and S_(t). The 2^(nd) set of conditions in Eq(10) is applicable when the encoded signal level S_(e) is greater than 0.081, leading to three more sub-conditions 2a-2c that are dependent on the encoded signal level S_(e) relative to the black level transition parameters S_(o) and S_(t). In Eq(10) a sine function has been implemented for the black level transition for conditions 1b and 2b, although there many functions that could be used for this purpose.

                                        Eq(10) $\begin{matrix} {{\left. 1 \right)\mspace{14mu}{for}\mspace{14mu} S_{e}} < {0.081\text{:}}} & {{{\left. a \right)\mspace{14mu}{if}\mspace{14mu}\frac{S_{e}}{4.5}} \leq {S_{o}\text{:}\mspace{14mu} S_{p}}} = 0} \\ \; & {{{\left. b \right)\mspace{14mu}{if}\mspace{14mu} S_{o}} < \frac{S_{e}}{4.5} < {S_{t}\text{:}\mspace{14mu} S_{p}}} = \left\{ {S_{b} \cdot {\sin\left\lbrack {\frac{\pi}{2}\left( \frac{S^{*} - S_{o}}{S_{t} - S_{o}} \right)} \right\rbrack}} \right\}^{\frac{1}{\gamma}}} \\ \; & {{{\left. c \right)\mspace{14mu}{if}\mspace{14mu}\frac{S_{e}}{4.5}} \geq {S_{t}\text{:}\mspace{14mu} S_{p}}} = \left\{ {S_{b} + {\frac{\left( {S^{*} - S_{t}} \right)^{\beta}}{\left( {1 - S_{t}} \right)^{\beta}}\left( {1 - S_{b}} \right)}} \right\}^{\frac{1}{\gamma}}} \end{matrix}$ $\begin{matrix} {{\left. 2 \right)\mspace{14mu}{for}\mspace{14mu} S_{e}} \geq {0.081\text{:}}} & {{{\left. a \right)\mspace{14mu}{if}\mspace{14mu} S^{*}} \leq {S_{o}\text{:}\mspace{14mu} S_{p}}} = 0} \\ \; & {{{\left. b \right)\mspace{14mu}{if}\mspace{14mu} S_{o}} < S^{*} < {S_{t}\text{:}\mspace{14mu} S_{p}}} = \left\{ {S_{b} \cdot {\sin\left\lbrack {\frac{\pi}{2}\left( \frac{S^{*} - S_{o}}{S_{t} - S_{o}} \right)} \right\rbrack}} \right\}^{\frac{1}{\gamma}}} \\ \; & {{{\left. c \right)\mspace{14mu}{if}\mspace{14mu} S^{*}} \geq {S_{t}\text{:}\mspace{14mu} S_{p}}} = \left\{ {S_{b} + {\frac{\left( {S^{*} - S_{t}} \right)^{\beta}}{\left( {1 - S_{t}} \right)^{\beta}}\left( {1 - S_{b}} \right)}} \right\}^{\frac{1}{\gamma}}} \\ \; & {{{where}\text{:}\mspace{14mu} S^{*}} = \left( \frac{S_{e} + 0.099}{1.099} \right)^{\frac{1}{\gamma}}} \end{matrix}$

In addition, depending on the spectral distribution of the ambient light it may be desirable to automatically alter the white balance of the display.

As noted above, Gamma (symbolized by γ) generally refers to the mathematic exponent in a power function S^(γ) that transforms the scaling of gray levels (on a sub-pixel basis) in an image. As taught above, the exemplary embodiments of the system can select a desired γ for the display, depending on the data from an ambient light sensor or, as shown in FIG. 8, data related to the sunset and sunrise times for the location of the display, without requiring the use of actual data from an ambient light sensor. Taking this concept even further, the embodiment below allows various display settings, specifically gamma (γ) or the black level to be selected based on artificial ambient light sensor data (AAS data), without requiring the use of actual data from an ambient light sensor.

It has been discovered, that anomalies in the display environment can sometimes create variations in the ambient light sensor data that can cause the display to change brightness levels drastically, even though the surrounding environment has not changed quite as drastically. For example, the ambient light sensor may be positioned within a shadow while the rest of the display is not. This select-shadowing can be caused by a number of obstructions, including but not limited to light posts, trees, passing vehicles, and/or construction equipment. Other anomalies can create variability in the ambient light sensor data, including variations in: the response of each different sensor, the response of the sensor over temperature changes, variations in the positioning of the light sensor in each display, and variations in the typical ambient environment of the display over time.

In some embodiments, as mentioned above, the system can function without the use of data from the ambient light sensor. This however does typically limit some of the functionality of the system and its benefits, specifically power saving benefits, and can sometimes produce drastic changes in the display luminance. However, the following embodiments provide a system and method for controlling the luminance of an electronic display by producing artificial ambient light sensor data (AAS).

In one embodiment, generating artificial ambient sensor data involves defining the following parameters:

(1) Nighttime Instructions—the desired Gamma at nighttime.

(2) Daytime Instructions—the desired Gamma during the daytime.

(3) High Ambient Reading (HA)—the approximate raw data received by the ambient light sensor when experiencing the highest ambient light levels for the display environment.

(4) GPS coordinates for the display location or the address/City/State.

(5) Sunrise transition period (t^(sr))—the amount of time (usually measured in seconds) to transition from a nighttime ambient light sensor reading to a daytime ambient light sensor reading.

(6) Sunset transition period (t^(ss))—the amount of time (usually measured in seconds) to transition from a daytime ambient light sensor reading to a nighttime ambient light sensor reading.

For this embodiment, during the sunrise transition period, the artificial ambient sensor (AAS) data can be calculated in the following manner, where t′ provides the time in transition (i.e. t^(i) varies between zero and t^(sr)). AAS for sunrise=(t ^(i)*HA)/t ^(sr).

Similarly, the AAS for sunset can be calculated in the following manner, where t^(i) provides the time in transition (i.e. t^(i) varies between zero and t^(ss)). AAS for sunset=HA−(t ^(i)*HA)/t ^(ss).

Once AAS for either transition period has been calculated, the desired backlight level can be determined from any of the ambient light vs. display settings described above.

FIG. 18 provides a logical flowchart for performing an embodiment that uses the AAS technique during sunset/sunrise transition times while using a nighttime/daytime level for the remaining times.

In some embodiments, the sunset transition period and the sunrise transition period may be similar or substantially the same. In this case, it may not be necessary to have two transition periods. Instead, one transition period may be used. FIG. 19 provides a logical flowchart for performing an embodiment that uses the AAS technique with only a single transition period while using nighttime/daytime instructions for the remaining times.

In an advanced embodiment, the system and method can also utilize local weather information to further tailor the display settings, without requiring actual data from the ambient light sensor. The local weather information can be obtained from available web APIs or other online weather information which may be accessed at a predetermined time interval (ex. every 15 minutes). Here, a weather factor (WF) is used where:

If it is daytime or any transition period: WF=4*C^(i), where C^(i)=Clearness percentage with a higher percentage representing a clear sky and a lower percentage representing a large amount of cloud cover. Of course the inversion could be used, where a higher percentage represents more cloud cover and a lower percentage represents less cloud cover. Either technique can be used by a person of ordinary skill in the art.

For this embodiment, during the sunrise transition period, the artificial ambient sensor (AAS) data can be calculated in the following manner. AAS for sunrise=(t ^(i)*(HA*WF))/t ^(sr).

Similarly, the AAS for sunset can be calculated in the following manner. AAS for sunset=(HA*WF)−(t ^(i)*(HA*WF))/t ^(ss).

If it is daytime, AAS=HA*WF.

If it is nighttime, AAS=0.

Once AAS for either transition period or the daytime has been calculated, the desired display settings can be determined from any of the ambient light levels vs. display settings described above.

FIG. 20 provides a logical flowchart for performing the advanced embodiment that uses the AAS technique during sunset/sunrise transition times as well as the daytime while factoring in the local weather information.

For example, when during the daytime (i.e. not within either transition period or nighttime) and where it is overcast and raining, the relevant calculations would be: Ci=10% clearness percentage HA=500 Weather factor=4*0.10=0.40 AAS=500*0.40=300

Note that without correction for local weather conditions, the daytime value would likely be 500, which would mean a different display setting (here Gamma) would be required. From here we see significant power savings due to the overcast skies.

For the same example, if the display is halfway through a sunrise or sunset transition, the calculated light sensor value and corresponding desired brightness would be: t ^(sr)=1800 seconds t ^(i)=900 seconds HA=500 Weather factor=4*0.10=0.40 AAS=(900*500*0.40)/1800=100

Without correction for local conditions, the AAS value would be 250.

Having shown and described a preferred embodiment of the invention, those skilled in the art will realize that many variations and modifications may be made to affect the described invention and still be within the scope of the claimed invention. Additionally, many of the elements indicated above may be altered or replaced by different elements which will provide the same result and fall within the spirit of the claimed invention. It is the intention, therefore, to limit the invention only as indicated by the scope of the claims. 

We claim:
 1. A method for environmental adaptation of electronic display characteristics, comprising: determining sunset and sunrise times for a day; determining whether a present time is between sunrise and sunset or between sunset and sunrise; selecting a gamma for the display based on whether the present time is between sunrise and sunset or between sunset and sunrise, wherein said gamma refers to a mathematic exponent in a power function S^(γ) that is adapted to transform scaling of gray levels (on a sub-pixel basis) in an image, wherein S represents a normalized value of an image signal; and driving the display at the selected gamma.
 2. The method of claim 1 further comprising: gradually changing the gamma for the display when transitioning from nighttime to sunrise; and gradually changing the gamma for the display when transitioning from daytime to sunset.
 3. The method of claim 1 wherein: selecting a gamma is performed without any actual input from an ambient light sensor.
 4. The method of claim 1 wherein: determining the sunset and sunrise times for the day is performed by calculating a sunrise equation.
 5. The method of claim 1 further comprising: selecting a black level offset for the display based on whether the present time is between sunrise and sunset or between sunset and sunrise; and driving the display at the selected black level offset.
 6. The method of claim 1 further comprising: determining whether the present time is during a sunset or sunrise transition period, calculate artificial ambient sensor data (AAS) for sunset, if during the sunset transition period, calculate artificial ambient sensor data (AAS) for sunrise, if during the sunrise transition period, select a gamma for the display based on the AAS data if the present time is during the sunset or sunrise transition period, and driving the display at the selected gamma if the present time is during the sunset or sunrise transition period.
 7. The method of claim 1 further comprising: determining whether the present time is during a sunset or sunrise transition period; and calculating artificial ambient sensor data (AAS) if during a sunset or sunrise transition period, and selecting a gamma for the display based on the AAS data if during a sunset or sunrise transition period.
 8. The method of claim 1 further comprising: determining local weather information, calculating artificial ambient sensor data (AAS) based on the local weather information, select a gamma for the display based on the AAS data and whether the present time is between sunrise and sunset or between sunset and sunrise, and driving the display at the selected gamma.
 9. A method for environmental adaptation of electronic display characteristics, comprising: determining sunset and sunrise times for a day, including a sunset transition period and a sunrise transition period, determining if a present time is during the sunrise transition, daytime, the sunset transition, or nighttime, calculating artificial ambient sensor data (AAS) for sunrise and selecting a gamma for the display based on the AAS data if the present time is during the sunrise transition period, selecting a gamma for the display for daytime if the present time is daytime, calculating AAS data for sunset and selecting a gamma for the display based on the AAS data if the present time is during the sunset transition period, selecting a gamma for the display for nighttime if the present time is nighttime, and driving the display with the selected gamma; wherein, respectively, said gamma refers to a mathematic exponent in a power function S^(γ) that is adapted to transform scaling of gray levels (on a sub-pixel basis) in an image, wherein S represents a normalized value of an image signal.
 10. The method of claim 9 wherein: the AAS data approximates an amount of ambient light that is present in the environment.
 11. The method of claim 9 wherein: each said gamma is determined by approximating the amount of ambient light present in the environment.
 12. The method of claim 9 wherein selecting a gamma for the display based on AAS data is performed by: comparing the AAS data to a predetermined relationship between ambient light in the environment and a corresponding value for gamma.
 13. The method of claim 9 further comprising: selecting a black level offset for the display based on whether the present time is between sunrise and sunset or between sunset and sunrise; and driving the display at the selected black level offset.
 14. The method of claim 9 further comprising: determining a black level offset for the display based on the AAS data.
 15. The method of claim 9 further comprising: calculating a percentage of cloud cover; and further selecting a gamma for the display based on the percentage of cloud cover.
 16. A method for environmental adaptation of electronic display characteristics, comprising: determine location data for the electronic display through a GPS device; and determining sunrise and sunset times for a given day, directing the electronic display to utilize a first gamma setting if a present time is between sunrise and sunset, and directing the electronic display to utilize a second gamma setting if the present time is between sunset and sunrise; wherein said first gamma setting and said second gamma setting, respectively, refer to a mathematic exponent in a power function S^(γ) that is adapted to transform scaling of gray levels (on a sub-pixel basis) in an image, wherein S represents a normalized value of an image signal.
 17. The method of claim 16 wherein: directing the electronic display to utilize a first gamma setting or a second gamma setting is performed without accepting any input from an ambient light sensor.
 18. The method of claim 16 wherein: calculating the sunrise and sunset times is performed based on longitude and latitude coordinates of the electronic display.
 19. The method of claim 18 further comprising: selecting a black level offset for the display based on whether the present time is between sunrise and sunset or between sunset and sunrise; and driving the display at the selected black level offset.
 20. The method of claim 18 further comprising: calculating a percentage of cloud cover; and further selecting a gamma for the display based on the percentage of cloud cover. 